package com.bdth.weget.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.bdth.weget.entity.Group;
import com.bdth.weget.common.Pagination;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LGP
 * @since 2018-11-13
 */
public interface GroupService extends IService<Group> {

    Page<Group> listPages(Pagination pagination, String title);

    Integer listTotal(String title);

    boolean update(Group bean);

    boolean save(Group bean);

    boolean delete(Integer id);

    boolean remove(String ids);

    List<Group> listAll();
}
